package gat.infrastructure.persistence.po.backgroundUser;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bitsun.core.framwork.infrastructure.persistence.po.BasePo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * 权限角色关联表
 * @author: tmac
 * @email: tmac
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "u_role_permissions", resultMap = "rolePermissionsMap")
public class RolePermissionsPo extends BasePo<RolePermissionsPo> implements Serializable{
    private static final long serialVersionUID = 1L;

    public RolePermissionsPo(){

    }
    public RolePermissionsPo(Long id){
        this.id = id;
    }

    /**
     * 权限id int8
     */
    private Long permissionId;

    /**
     * 角色id int8
     */
    private Long roleId;

}






